﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace MO
{
    public class ListDefine
    {
        public string Code;
        public string Name;
        public string QuerySql;
        public string QueryScript;
        public string ViewTemplate;
        public ListDefine(DataRow row)
        {
            this.Code = row["LD_Code"].ToString();
            this.Name = row["LD_Name"].ToString();
            this.QuerySql = row["LD_Query_Sql"] as string;
            this.QueryScript = row["LD_Query_Script"] as string;
            this.ViewTemplate = row["LD_View_Template"] as string;
        }
    }
    public class ListItem
    {
        public string Code;
        public string Name;
        public string ListCode;
        public string EntityCode;
        public string TitleField;
        public string TimeField;
        public string UserField;
        public bool AllField;
        public string WhereSql;
        public string QueryScript;
        public string Url;
    }

}
